//
//  UILabel+Extension.swift
//  SinaWeibo
//
//  Created by 蒋琪 on 2017/5/28.
//  Copyright © 2017年 liuying. All rights reserved.
//

import UIKit


extension UILabel{

    //便利构造函数
    convenience init(title:String,txtColor:UIColor,fontSize:CGFloat){
        self.init()
        self.text = title
        self.textColor = txtColor
        self.font = UIFont.systemFont(ofSize: fontSize)
        self.sizeToFit()
    }
}
